package com.yjd.comm.easycard.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.easycard.model.EasycardVerifyModel;
import com.yjd.comm.system.dto.OperParamDto;

/**
 * <b>description</b>：易借卡用户信息审核表业务接口<br>
 * <b>time</b>：2015-04-11 00:56:17 <br>
 * <b>author</b>：  Song devpage@126.com
 */
public interface IEasycardVerifyService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public EasycardVerifyModel insert(EasycardVerifyModel model) throws Exception;
	
	/**
	 * 保存审核记录
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public boolean saveVerifyRecord(EasycardVerifyModel model,OperParamDto operParamDto) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(EasycardVerifyModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public int delete(Long id) throws Exception;

}
